from django.contrib import admin

# Register your models here.
from django.contrib import admin
from .models import Post
from .models import ImageUpload
admin.site.register(Post)

@admin.register(ImageUpload)
class ImageUploadAdmin(admin.ModelAdmin):
    list_display = ['id', 'uploaded_at']
    readonly_fields = ['uploaded_at']